[GtkFileChooser] Fix initial selection when hidden files are shown
authorFederico Mena Quintero <federico@gnome.org>
Thu, 24 Feb 2011 20:53:09 +0000 (14:53 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Thu, 24 Feb 2011 20:56:57 +0000 (14:56 -0600)
commit6c4196e9e4b66aef4054cca0597f9799654ae43a
treeeffaee1e48ce294314e4873fc96380a2e94401a0
parent4164a49b84d56b195e5eb88173e229d8fd7be0f2
[GtkFileChooser] Fix initial selection when hidden files are shown

We were breaking prematurely out of the loop that goes through
each file that is pending selection; not only does that loop
disable filtering and show hidden files if needed, but it also
selects the files themselves.  So we need to walk the whole
list of files.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=643170
gtk/gtkfilechooserdefault.c